public class NashFrequencyModel extends OpponentModel
negotiationSession, opponentUtilitySpace| Constructor and Description |
|---|
NashFrequencyModel() |
| Modifier and Type | Method and Description |
|---|---|
double |
getBidEvaluation(Bid bid)
This method estimates the utility of the negotiator given that it has just offered the given bid.
|
java.lang.String |
getName() |
UtilitySpace |
getOpponentUtilitySpace() |
double |
getWeight(Issue issue)
Returns the weight of a particular issue in the domain.
|
void |
init(NegotiationSession domainKnow,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Initializes the model.
|
java.lang.String |
toString()
This returns a string representation of the negotiatormodel.
|
void |
updateModel(Bid bid,
double time)
This will update the negotiatormodel based on a new bid that has just been offered by the negotiator.
|
cleanUp, getIssueWeights, init, isCleared, setOpponentUtilitySpace, setOpponentUtilitySpace, updateModelpublic void init(NegotiationSession domainKnow, java.util.HashMap<java.lang.String,java.lang.Double> parameters) throws java.lang.Exception
OpponentModelinit in class OpponentModeldomainKnow - reference to the state of the negotiationjava.lang.Exceptionpublic void updateModel(Bid bid, double time)
updateModel in class OpponentModelbid - The bid that has just been offered.time - at which the bid was offered.public double getBidEvaluation(Bid bid)
getBidEvaluation in class OpponentModelbid - The bid that has just been offered by the negotiator that we are evaluating.public java.lang.String toString()
toString in class java.lang.Objectpublic double getWeight(Issue issue)
OpponentModelgetWeight in class OpponentModelissue - from which the weight should be returnedpublic java.lang.String getName()
getName in class OpponentModelpublic UtilitySpace getOpponentUtilitySpace()
getOpponentUtilitySpace in class OpponentModel